package com.shuke.sk_worm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("his_kpi")
@Data
public class HisKpi {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 客服昵称
     */
    private String staffName;

    /**
     * 客服ID
     */
    private String staffId;

    /**
     * 人工已接待会话量
     */
    private Integer laborAmount;

    /**
     * 人工已接待人数
     */
    private Integer laborUserAmount;

    /**
     * CPD
     */
    private Integer alarmConversationAmount;

    /**
     * 销售金额
     */
    private String salesAmount;

    /**
     * 询单人数
     */
    private String inquirerAmount;

    /**
     * 下单付款人数
     */
    private String purchasersAmount;

    /**
     * 满意率
     */
    private String satisfactionRate;

    /**
     *
     */
    private String satisfactionRateCompare;

    private String fcrRate;

    /**
     * 询单转化率(转平台服务率)
     */
    private String inquiryConversionRate;

    /**
     * 在线总时长
     */
    private String onlineDuration;

    /**
     * 小休时长
     */
    private String napDuration;

    /**
     * 脱机持续时间
     */
    private String offlineDuration;

    /**
     * 平均首次响应时长（新平均响应时长）
     */
    private String avgResponseDuration;

    /**
     * 三分钟响应率(3分钟人工回复率（消息）)
     */
    private String threeMinResponseRate;

    private String threeMinResponseRateCompare;


    private String threeMinResponseConRate;


    private String staffUsername;


    private String commentType1Map;


    private String laborAmount8To23;

    private String cpdOnlineDuration;

    private String cpdMap;

    /**
     * 首响持续时长（首次响应时长）
     */
    private String firstResponseDuration;

    /**
     * 不满意率
     */
    private String dissatisfactionRate;

    /**
     * 下单人数
     */
    private String createOrderAmount;

    /**
     * 插入时间
     */
    @TableField(value = "insert_time")
    private String insertTime;

    /**
     * 插入时间戳
     */
    @TableField(value = "insert_timestamp")
    private Long insertTimestamp;

    @TableField(value = "user_id")
    private Long userId;

    @TableField(value = "user_name")
    private String userName;

    @TableField(value = "shop_id")
    private Long shopId;

    @TableField(value = "shop_name")
    private String shopName;

    private Integer platform;

    private String userIds;

    private String userNames;

    private String deptIds;

    private String deptNames;

    private String businessManagerIds;

    private String businessManagerNames;

    /**
     * 基地经理ids，用于存多个基地经理id
     */
    private String baseManagerIds;

    /**
     * 基地经理名称，用于存多个基地经理名称
     */
    private String baseManagerNames;

    private Long deptId;
}
